<!DOCTYPE html>
<!--查询账单-->
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorate="~{layout/storelayout}" >
<head>
    <title>查账</title>
</head>
<body>
<div layout:fragment="content">
    <div class="layui-row">
        <form class="layui-form layui-form-pane" action="">
            <div class="layui-col-xs8">
                <div class="layui-inline">
                    <label class="layui-form-label">店铺</label>
                    <div class="layui-input-inline">
                        <select name="gradeId" lay-verify="required" lay-search="">
                            <option value="">请选择店铺</option>
                            <option th:value="1" th:text="11" th:selected="111"></option>
                            <option th:each="grade:${grades}" th:value="${grade.id}" th:text="${grade.name}" th:selected="${grade.id==gradeId}"></option>
                        </select>
                    </div>
                </div>

            </div>
        </form>
    </div>
    <table class="layui-table">
        <thead>
        <tr>
            <th>店铺</th>
            <th>卡号</th>
            <th>交易金额</th>
            <th>交易类型</th>
            <th>日期</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        </tbody>
    <script>
        layui.use('form', 'laydate', function(){
            var form = layui.form,
                laydate = layui.laydate;
            laydate.render({
                elem: '#date1'
            });
        });
    </script>
</div>
</body>
</html>